namespace ColladaDotNet.Pipeline.BSP.Quake3
{
	public enum FaceType
	{
		polygon=1,
		patch=2,
		mesh=3,
		billboard=4
	}

	public class Face
	{
		public int texture;// 	Texture index.
		public int effect;// 	Index into lump 12 (Effects), or -1.
		public FaceType type;// 	Face type. 1=polygon, 2=patch, 3=mesh, 4=billboard
		public int vertex;// 	Index of first vertex.
		public int n_vertexes;// 	Number of vertices.
		public int meshvert;// 	Index of first meshvert.
		public int n_meshverts;// 	Number of meshverts.
		public int lm_index;// 	Lightmap index.
		public int[] lm_start = new int[2];// 	Corner of this face's lightmap image in lightmap.
		public int[] lm_size = new int[2];// 	Size of this face's lightmap image in lightmap.
		public float[] lm_origin = new float[2];// 	World space origin of lightmap.
		public float[,] lm_vecs = new float[2,3];// 	World space lightmap s and t unit vectors.
		public float[] normal = new float[3];// 	Surface normal.
		public int[] size = new int[2];// 	Patch dimensions. 
	}
}